XIQS Create Card Group

From IQsimWiki

Jump to: navigation, search

XIQS Create Card Group - Sim Card Group Management

Description
createXIQSCardGroup ( String cardgroup_name [, String fplmn, String oplmn, Long ratmode [, Long id_partition ] ] )
Create a new card group object and return ID assigned to it.
Parameters

String cardgroup_name

Name of the new card group object.

String fplmn

Semicolon separated list of forbidden PLMNs. Example: 20801;20810

String oplmn

Semicolon separated list of preferred PLMNs with supported protocols.
Supported protocols can be: 2G, 3G and 4G. Each protocol is coded as bitmap: 2G = 0x01, 3G = 0x02, 4G = 0x04.
So, value 7 means that all 3 protocols are supported (7 = 1+2+4), and value 5 means (2G + 4G)... Example: 27603,3;50506,5;21303,5;28310,7

Long ratmode

Radio Access Technology. Supported values:
0 - 2G/3G (3G preferred)
1 - 2G only
2 - 3G
3 - 2G/3G (auto mode, according to PRL)
9 - 4G/3G/2G
11 - 4G only
12 - 4G/3G

[ Long id_partition ]

Id of the partition which refers to the port group objects.
(can only be used by the administrator, ignored for ordinary users)
Return Values
Long id
Id of the created card group object.


Error Data structure ( Error Management )

Possible failure code returns
*ERR_SRV_INTERNAL (500) ERR_MSG_NO_DB
See Also

getXIQSCardGroupList
updateXIQSCardGroup
deleteXIQSCardGroup
mapXIQSCardGroup
unmapXIQSCardGroup
getXIQSCardGroupCardList

Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List